<template>
  <div>
    <van-nav-bar title="练习" />
    <div class="div">
      <div class="div1"></div>
    </div>
    <div class="nav">
      <div class="div2">
        <p>近期模考</p>
        <div class="p2">
          <span class="s1">默认排序</span>
          <span>时间</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  // 组件状态值
  data() {
    return {};
  },
  // 生命周期
  mounted() {},
  // 组件方法
  methods: {},
  // 计算属性
  computed: {},
  // 侦听器
  watch: {},
  // 过滤器
  filters: {},
  // 自定义指令
  directives: {},
};
</script> 

<style scoped>
.div {
  width: 100%;
  height: 200px;
  background: #f2f3f5;
  padding-top: 10px;
}
.div1 {
  width: 354px;
  height: 185px;
  background: white;
  margin-left: 10px;
  border-radius: 10px;
}
.nav {
  width: 100%;
  height: 500px;
  background: #f2f3f5;
}
.div2{
  width: 100%;
  height: 210px;
  background: white;
}
.div2>p{
  color: #8c8c8c;
}
.p2{
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.s1{
  color: #f07a84;
}
</style>
